import { IConstant_Enum_Type_KeyValueStore_Enum_TypeKey } from '@/common/constants/enum';
import { ApiProperty } from '@nestjs/swagger';
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('keyvaluestore')
export class KeyValueStore {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  @ApiProperty({ description: '键' })
  storeKey: IConstant_Enum_Type_KeyValueStore_Enum_TypeKey;

  @Column()
  @ApiProperty({ description: '值' })
  storeValue: string;
}
